//接口地址
//环境变量
let api = process.env.VUE_APP_BASE_URL; // /api
const base = {
  //首页
  // totalInfo:'/api/home/dataCount',//首页统计数据
  // orderinfo:"/api/home/orderinfo",//数据
  // format:"/api/home/format",//折线数据
  //打包
  totalInfo: api + "/home/dataCount", //首页统计数据
  orderinfo: api + "/home/orderinfo", //医护人员数据
  format: api + "/home/format", //折线数据

  //人员管理
  orderList: "/api/order/list", //医护列表 page
  changeStatus: "/api/order/changeStatus", //状态
  collect: "/api/order/collect", //校医列表 page
  detail: "/api/order/list/detail", //信息详情  id
  searchS: "/api/order/searchS", //查询
  addStaff: "/api/order/list/addStaff", //添加
  updateStaff: "/api/order/list/updateStaff", //修改
  batchDeleteS: "/api/order/batchDeleteS", //删除
  batchDeleteStaff: "/api/order/batchDeleteStaff",
  addDoctor: "/api/order/list/addDoctor", //添加
  updateDoctor: "/api/order/list/updateDoctor", //修改
  searchStaff: "/api/order/searchStaff", //查询
};

//单一导出
export const host = "http://localhost:7788";
//导出图片上传的url地址
export const uploadUrl = "/api/upload";

export default base;
